home *** CD-ROM | disk | FTP | other *** search
/ SGI Developer Toolbox 6.1 / SGI Developer Toolbox 6.1 - Disc 4.iso / src / exampleCode / video / vidmap / glxhelper.h < prev    next >
Encoding:
C/C++ Source or Header  |  1994-08-02  |  573 b   |  19 lines

  1. /*
  2.  * glxhelper.h:
  3.  *
  4.  *   List of drawing modes supported by GLXCreateWindow (in glxhelper.c).
  5.  * More than this are possible with mixed model, but this is just an 
  6.  * example.  You can either expand this list (and the corresponding code in 
  7.  * GLXCreateWindow) or call the mixed model calls yourself, using 
  8.  * GLXCreateWindow as an example.
  9.  */
  10.  
  11. typedef enum {
  12.     GLXcolorIndexSingleBuffer,
  13.     GLXcolorIndexDoubleBuffer,
  14.     GLXrgbSingleBuffer,
  15.     GLXrgbDoubleBuffer
  16. } GLXWindowType;
  17.  
  18. extern Window GLXCreateWindow(Display*,Window,int,int,int,int,int,GLXWindowType);
  19.